package com.zhixiang.xaec.service.safebase.emergency.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.safebase.emergency.EmergencyExerciseDao;
import com.zhixiang.xaec.entity.safebase.emergency.EmergencyExercise;
import com.zhixiang.xaec.service.safebase.emergency.EmergencyExerciseService;
@Service
public class EmergencyExerciseServiceImpl extends BaseServiceImpl<EmergencyExercise, Long>
implements EmergencyExerciseService{
    
    @Override
    @Resource(type=EmergencyExerciseDao.class)
    public void setBaseDao(BaseDao<EmergencyExercise, Long> dao) {
        setDao(dao);
        
    }

    @Override
    public String delete(String[] ids) {
       for(String id:ids){
           getDao().remove(Long.valueOf(id));
       }
        return null;
    }
    
}
